package com.ynkbny.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ynkbny.domain.ArgumentDevice;
import com.ynkbny.domain.dto.ArgumentDeviceAddDTO;
import com.ynkbny.mapper.ArgumentDeviceMapper;
import com.ynkbny.service.ArgumentDeviceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author YY
* @description 针对表【argument_device(参数设备)】的数据库操作Service实现
* @createDate 2023-09-04 20:30:05
*/
@Service
public class ArgumentDeviceServiceImpl extends ServiceImpl<ArgumentDeviceMapper, ArgumentDevice>
    implements ArgumentDeviceService{

    @Resource
    private ArgumentDeviceMapper argumentDeviceMapper;

    /**
     * 通过采集配置项id查询设备信息
     * @author YY
     * @return List<ArgumentDeviceAddDTO>
     */
    @Override
    public List<ArgumentDeviceAddDTO> listByDataCollectConfigureId(String dataCollectConfigureId) {
        return argumentDeviceMapper.getList(dataCollectConfigureId);
    }
}




